package com.ricohgag.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ricohgag.entity.ShopAd;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 肖晖
 * @since 2018-08-25
 */
public interface ShopAdService extends IService<ShopAd> {
    public IPage<ShopAd> selectShopAdPage(String name, Page<ShopAd> page) throws Exception;

    public ShopAd seleShopAdOne(Integer id) throws Exception;

    public int updateShopAd(ShopAd shopAd) throws Exception;

    public int insertShopAd(ShopAd shopAd) throws Exception;

    public int deleteShopAd(int id) throws Exception;

    public List<ShopAd> selectShopAdAll() throws Exception;
}
